#include <stdio.h>
int main()
{
	int day = 0;
	scanf("%d", &day);
	switch (day)
	{
	case 1:
	case 2:
	case 3:
	case 4:
	case 5: 
		puts("工作日");
		break; 
	case 6:
	case 7:
		puts("休息天");
    default:
        puts("输入错误");
        break;
	}	
	return 0;
 } 
